(message "Welcome To The Civilization Manager Installer\n\nThis script will add the Civilization Manager program to your CivAGA directory\n\nIt does not modify any of the original Civilization Files\n\nReqtools library is required, and this will be copied to LIBS: if the version supplied here is newer than your current version")
(if @pretend
(
(message "This is a pretend Install. All files will actually be installed in RAM:\n\nThe program will work, if you wish to test it, however to a permanent copy you must install it to your CivAGA directory, by selecting \"Install For Real\"\n\nDo not just copy the files from RAM: - This won't work.\n\nPlease select all directories as if you were doing a real installation")
(makedir "ram:libs")
)
)
(set #CivAGA
(askdir
(prompt "Please select your CivAGA directory.")
(help @ask-dirhelp)
(default @default-dest)
(newpath)
)
)
(complete 20)
(copylib
(help @copylib-help)
(prompt "Installing ReqTools.Library...")
(source "Reqtools.library")
(if @pretend
(dest "ram:libs")
(dest "libs:")
)
(confirm)
(noposition)
)
(complete 40)
(copyfiles
(help @copyfiles-help)
(prompt "Installing CivManager")
(source "CivManager")
(noposition)
(if @pretend
(dest "RAM:")
(dest #CivAGA)
)
)
(complete 50)
(copyfiles
(help @copyfiles-help)
(prompt "Installing Default Icon")
(source "DefSaveIcon.info")
(if @pretend
(dest "RAM:")
(dest #CivAGA)
)
)
(complete 60)
(tooltype
(prompt "Setting Default Save ToolTypes")
(if @pretend
(dest "RAM:DefSaveIcon")
(dest (tackon #CivAGA "DefSaveIcon"))
)
(setdefaulttool (tackon #CivAGA "CivManager"))
(noposition)
)
(complete 70)
(set #SaveDir
(askdir
(prompt "Please select your the directory you wish the saved game fileselector to open in:")